﻿using GDM.Hogar.Controles.Properties;
using System.Drawing;
using System.Windows.Forms;

namespace GDM.Hogar.Controles.ControlesPersonalizados
{
    public partial class DeleteButton : Button
    {
        public DeleteButton()
        {
            InitializeComponent();
            FlatAppearance.BorderSize = 1;
            FlatStyle = FlatStyle.Flat;
            Size = new Size(24, 24);
            Image = Resources.delete_20;
        }

        public override string Text
        {
            get
            {
                return "";
            }
            set
            {
                base.Text = value;
            }
        }

        public override Color ForeColor
        {
            get
            {
                return SystemColors.ControlDark;
            }
            set
            {
                base.ForeColor = value;
            }
        }
    }
}